Methods
|
|
|
|
__init__
|
__init__ (
self,
name='',
atts={},
**kw,
)
Exceptions
|
|
SyntaxError, "Invalid attributes %s in element %s" %( disallowed.items(), name )
SyntaxError, "Missing attributes %s in element %s" %( missing.items(), name )
|
|
|
_finish
|
_finish ( self )
|
|
_finish_
|
_finish_ ( self )
|
|
_finish_association
|
_finish_association ( self )
Exceptions
|
|
SyntaxError, "Expected 2 roles, found %d" % len( roles )
|
|
|
_finish_attribute
|
_finish_attribute ( self )
|
|
_finish_datatype
|
_finish_datatype ( self )
|
|
_finish_element
|
_finish_element ( self )
|
|
_finish_enumeration
|
_finish_enumeration ( self )
|
|
_finish_literal
|
_finish_literal ( self )
|
|
_finish_metamodel
|
_finish_metamodel ( self )
|
|
_finish_package
|
_finish_package ( self )
|
|
_finish_primitive
|
_finish_primitive ( self )
|
|
_finish_role
|
_finish_role ( self )
|
|
_finish_superclass
|
_finish_superclass ( self )
|
|
_makeClass
|
_makeClass (
self,
flavor,
bases=(),
features=(),
add=1,
name=None,
setXMI=1,
)
|
|
_newNode
|
_newNode (
self,
name,
atts,
)
Exceptions
|
|
SyntaxError, "Found %s where %s expected" %( name, ` reachable ` )
|
|
|